<!DOCTYPE html>
<html>
<head>
<title></title>
#parse("sys/header.html")
	<style type="text/css">
		.dropdown {
			position: relative;
			display: inline-block;
		}

		.dropdown-content {
			display: none;
			position: absolute;
			background-color: white;
			z-index: 150;

		}

		.dropdown-content a{
			color: black;

			background-color: #ccc;
			display: block;
			border: none;
			border-color: #ccc;

			border-radius: 2px
		}

		.dropdown-content a:hover {
			background-color: #e6e6e6
		}

		.dropdown:hover .dropdown-content {
			display: block;
		}

		.dropdown:hover .dropbtn {
			background-color: #e6e6e6;
		}
	</style>
</head>
<body>
<div id="rrapp" v-cloak>
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.empname" placeholder="用户名">
			</div>
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.batchcode" placeholder="结算批次">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<div class="dropdown">
				<a class="btn btn-primary" >状态确认<i class="glyphicon glyphicon-chevron-down"></i></a>
				<div class="dropdown-content">
					#if($shiro.hasPermission("interview:SettlementUpdate"))
					<a class="btn btn-primary" @click="sysconfirm">系统确认</a>
					<a class="btn btn-primary" @click="manconfirm">人工确认</a>
					<a class="btn btn-primary" @click="mannoconfirm" >人工不确认</a>
					#end

				</div>
			</div>
			#if($shiro.hasPermission("interview:SettlementDelete"))
			<a class="btn btn-primary" @click="del">删除</a>
			#end
			#if($shiro.hasPermission("interview:SettlementBatch"))
			<a class="btn btn-primary" @click="settlement">结算</a>
			#end
			#if($shiro.hasPermission("interview:SettlementAudit"))
			<a class="btn btn-primary" @click="audit">审核</a>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
	<!----------------------------社保付款------------------------------------->
	<div id="window" hidden="true">
		<div class="form-group">
			<div class="col-sm-2 control-label">选择结算批次</div>
			<div class="col-sm-10">
				<input type="text" id="yearmonth" class="form-control" placeholder="选择结算批次" readonly="readonly"
					   onClick="WdatePicker({dateFmt:'yyyy年MM月'})"/>
			</div>
		</div>
		<div class="col-sm-12 popfooter">
			<a class="btn btn-primary btn-sm" @click="addBatchCode">确定</a>
			<a class="btn btn-primary btn-sm" @click="close">关闭</a>
		</div>
	</div>
</div>

<script src="${rc.contextPath}/js/recruit/v_settlement.js?_${date.systemTime}"></script>
</body>
</html>